package com.team.lostProperty.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

/**
 * @author duzq
 * @date 2020/07/22 14:13
 * 失物/拾物类目
 **/
public class Type {

    @JsonSerialize(using = ToStringSerializer.class)
    private long typeId;//主键Id
    private String name;//类型名称
    private Admin admin;//添加者
    private String remarks;//备注

    public long getTypeId() {
        return typeId;
    }

    public void setTypeId(long typeId) {
        this.typeId = typeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Admin getAdmin() {
        return admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
